package com.icedevcloud.gateway.config.properties;

import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.context.annotation.Configuration;

import java.util.ArrayList;
import java.util.List;

/**
 * <p>
 * 放行白名单配置
 * </p>
 *
 * @author dengbing
 * @since 2023-08-23
 */
@Configuration
@RefreshScope
@ConfigurationProperties(prefix = "security.ignore")
@NoArgsConstructor
@Data
public class IgnoreUrlsProperties {

    /**
     * 放行白名单配置
     */
    private List<String> urls = new ArrayList<>();

}
